var role = require("./role");

function _get_bus_card_factory(app) {
	var bus = role.getBus(app);
	card_factory_id = app.params.card_factory_id;
	var card_factory = bus._getCardFactory(card_factory_id);
	return card_factory;
};

var rest = require("./classify.rest_factory")(_get_bus_card_factory);

rest.prefix = "/bus/card_factory/:card_factory_id/classify";
module.exports = rest;